<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" >
	<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1,user-scalable=no">
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title><?php wp_title();?></title>
	<?php wp_head();?>
</head>
<body>
	<?php get_sidebar('header');?>
<!--主要内容-->
  <div class="slideBanner">
        <div class="swiper-container">
            <div class="swiper-wrapper">
			<?php
				$arrs = get_field("banners","options");
				foreach($arrs as $k => $v){
			?>
				<div class="swiper-slide">
                    <a href="<?php echo $v['link']?$v['link']:get_field('swt_link','options')?>">
                        <img src="<?php echo $v['img'] ?>">
                    </a>
                </div>	
			<?php
				}
			?>
            </div>
            
        </div>
        <!-- Add Pagination -->
            <div class="swiper-pagination swiper-pagination-indexbanner"></div>
    </div>